package com.jzd1997.lesson7;

/**
 * @Author: jiangzd
 * @Date: 19:27 2019/7/23
 */
public class Pursuit implements GiveGift{
    SchoolGirl mm;
    public Pursuit(SchoolGirl mm){
        this.mm = mm;
    }
    @Override
    public void giveDolls() {
        System.out.println(mm.getName() + "送你玩偶");
    }

    @Override
    public void giveFlowers() {
        System.out.println(mm.getName() + "送你鲜花");
    }

    @Override
    public void giveChocolate() {
        System.out.println(mm.getName() + "送你巧克力");
    }
}
